Integrand size = 20, antiderivative size = 69 \[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=\frac {1}{2} \arctan \left (\frac {x}{\sqrt {1+x^2+x^4}}\right )+\frac {\left (1+x^2\right ) \sqrt {\frac {1+x^2+x^4}{\left (1+x^2\right )^2}} \operatorname {EllipticF}\left (2 \arctan (x),\frac {1}{4}\right )}{4 \sqrt {1+x^2+x^4}} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1224, 1117, 1712, 209} \[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=\frac {1}{2} \arctan \left (\frac {x}{\sqrt {x^4+x^2+1}}\right )+\frac {\left (x^2+1\right ) \sqrt {\frac {x^4+x^2+1}{\left (x^2+1\right )^2}} \operatorname {EllipticF}\left (2 \arctan (x),\frac {1}{4}\right )}{4 \sqrt {x^4+x^2+1}} \]
[In]
[Out]
Rule 209
Rule 1117
Rule 1224
Rule 1712
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \int \frac {1}{\sqrt {1+x^2+x^4}} \, dx+\frac {1}{2} \int \frac {1-x^2}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx \\ & = \frac {\left (1+x^2\right ) \sqrt {\frac {1+x^2+x^4}{\left (1+x^2\right )^2}} F\left (2 \tan ^{-1}(x)|\frac {1}{4}\right )}{4 \sqrt {1+x^2+x^4}}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {x}{\sqrt {1+x^2+x^4}}\right ) \\ & = \frac {1}{2} \tan ^{-1}\left (\frac {x}{\sqrt {1+x^2+x^4}}\right )+\frac {\left (1+x^2\right ) \sqrt {\frac {1+x^2+x^4}{\left (1+x^2\right )^2}} F\left (2 \tan ^{-1}(x)|\frac {1}{4}\right )}{4 \sqrt {1+x^2+x^4}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 10.08 (sec) , antiderivative size = 72, normalized size of antiderivative = 1.04 \[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=\frac {(-1)^{2/3} \sqrt {1+\sqrt [3]{-1} x^2} \sqrt {1-(-1)^{2/3} x^2} \operatorname {EllipticPi}\left (\sqrt [3]{-1},i \text {arcsinh}\left ((-1)^{5/6} x\right ),(-1)^{2/3}\right )}{\sqrt {1+x^2+x^4}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.48 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.51
method | result | size |
default | \(\frac {\sqrt {1+\frac {x^{2}}{2}-\frac {i x^{2} \sqrt {3}}{2}}\, \sqrt {1+\frac {x^{2}}{2}+\frac {i x^{2} \sqrt {3}}{2}}\, \Pi \left (\sqrt {-\frac {1}{2}+\frac {i \sqrt {3}}{2}}\, x , -\frac {1}{-\frac {1}{2}+\frac {i \sqrt {3}}{2}}, \frac {\sqrt {-\frac {1}{2}-\frac {i \sqrt {3}}{2}}}{\sqrt {-\frac {1}{2}+\frac {i \sqrt {3}}{2}}}\right )}{\sqrt {-\frac {1}{2}+\frac {i \sqrt {3}}{2}}\, \sqrt {x^{4}+x^{2}+1}}\) | \(104\) |
elliptic | \(\frac {\sqrt {1+\frac {x^{2}}{2}-\frac {i x^{2} \sqrt {3}}{2}}\, \sqrt {1+\frac {x^{2}}{2}+\frac {i x^{2} \sqrt {3}}{2}}\, \Pi \left (\sqrt {-\frac {1}{2}+\frac {i \sqrt {3}}{2}}\, x , -\frac {1}{-\frac {1}{2}+\frac {i \sqrt {3}}{2}}, \frac {\sqrt {-\frac {1}{2}-\frac {i \sqrt {3}}{2}}}{\sqrt {-\frac {1}{2}+\frac {i \sqrt {3}}{2}}}\right )}{\sqrt {-\frac {1}{2}+\frac {i \sqrt {3}}{2}}\, \sqrt {x^{4}+x^{2}+1}}\) | \(104\) |
[In]
[Out]
none
Time = 0.09 (sec) , antiderivative size = 55, normalized size of antiderivative = 0.80 \[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=-\frac {1}{8} \, \sqrt {2} {\left (\sqrt {-3} + 1\right )} \sqrt {\sqrt {-3} - 1} F(\arcsin \left (\frac {1}{2} \, \sqrt {2} x \sqrt {\sqrt {-3} - 1}\right )\,|\,\frac {1}{2} \, \sqrt {-3} - \frac {1}{2}) + \frac {1}{2} \, \arctan \left (\frac {x}{\sqrt {x^{4} + x^{2} + 1}}\right ) \]
[In]
[Out]
\[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=\int \frac {1}{\sqrt {\left (x^{2} - x + 1\right ) \left (x^{2} + x + 1\right )} \left (x^{2} + 1\right )}\, dx \]
[In]
[Out]
\[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=\int { \frac {1}{\sqrt {x^{4} + x^{2} + 1} {\left (x^{2} + 1\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=\int { \frac {1}{\sqrt {x^{4} + x^{2} + 1} {\left (x^{2} + 1\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^2+x^4}} \, dx=\int \frac {1}{\left (x^2+1\right )\,\sqrt {x^4+x^2+1}} \,d x \]
[In]
[Out]